xen: Replace stupid page_alloc fix.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 7 Mar 2007 11:17:03 +0000 (11:17 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 7 Mar 2007 11:17:03 +0000 (11:17 +0000)
commit63fb267ebdeeefa5a0df533d41fbc2085c2eeab2
tree1150c479119395e2bbe752584071cb692c64f866
parent0cb97f4d8bff4b430318d74d7235ec3568ec5771
xen: Replace stupid page_alloc fix.

I broke the 'correct' fix when I copied it out of an email. The
actual correct version, with an extra +1 in the for-loop header is
rather abusive of for loops, so I've changed it now to a do-while loop
and an extra comment so I don't screw up this backwards loop ever
again.

This version does actually boot. :-)

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/page_alloc.c